package exttable.dbclasses;

import java.util.Date;
import java.util.HashMap;
import java.util.Map;

/**
 * Created by IntelliJ IDEA.
 * User: ADMIN
 * Date: 05.01.2011
 * Time: 12:13:14
 * To change this template use File | Settings | File Templates.
 */
public class Volunteer {
    private int volunteerId;
    private String volunteerCode;
    private java.util.Date volunteerDateBirth;
    private int nationalityId;
    private int sexId;
    private String volunteerLastname;
    private String volunteerFirstname;
    private String volunteerPatronymicName;
    private String volunteerIdentityCardNumber;
    private java.util.Date volunteerIdentityCardDateIssue;
    private String placeOfLiving;
    private String placeOfEmployment;
    private int maritalStatusId;
    private String phoneNumber;
    private String mobilePhoneNumber;
    private String email;
    private int occupationId;
    private boolean smokingNow;
    private int howLongYearsSmoking;
    private int typeSmokingId;
    private int howManyCigarretesId;
    private boolean drinkBeer;
    private int howMuchBeerWeekId;
    private boolean drinkWine;
    private int howMuchWineWeekId;
    private boolean drinkOtherAlcoholicDrinks;
    private int howMuchDrinkOtherAlcoholicDrinksWeekId;
    private double height;
    private double indexBodyWeight;
    private int maxArterialPressure;
    private int minArterialPressure;
    private boolean alcoholic;
    private boolean narcomaniac;
    public Volunteer() {

    }

    public Volunteer(int volunteerId, String volunteerCode,
                     Date volunteerDateBirth, int nationalityId,
                     int sexId, String volunteerLastname,
                     String volunteerFirstname, String volunteerPatronymicName,
                     String volunteerIdentityCardNumber,
                     Date volunteerIdentityCardDateIssue, String placeOfLiving,
                     String placeOfEmployment, int maritalStatusId,
                     String phoneNumber, String mobilePhoneNumber,
                     String email, int occupationId,
                     boolean smokingNow, int howLongYearsSmoking,
                     int typeSmokingId, int howManyCigarretesId,
                     boolean drinkBeer, int howMuchBeerWeekId,
                     boolean drinkWine, int howMuchWineWeekId,
                     boolean drinkOtherAlcoholicDrinks, int howMuchDrinkOtherAlcoholicDrinksWeekId,
                     double height, double indexBodyWeight,
                     int maxArterialPressure, int minArterialPressure, boolean alcoholic, boolean narcomaniac ) {
        this.volunteerId = volunteerId;
        this.volunteerCode = volunteerCode;
        this.volunteerDateBirth = volunteerDateBirth;
        this.nationalityId = nationalityId;
        this.sexId = sexId;
        this.volunteerLastname = volunteerLastname;
        this.volunteerFirstname = volunteerFirstname;
        this.volunteerPatronymicName = volunteerPatronymicName;
        this.volunteerIdentityCardNumber = volunteerIdentityCardNumber;
        this.volunteerIdentityCardDateIssue = volunteerIdentityCardDateIssue;
        this.placeOfLiving = placeOfLiving;
        this.placeOfEmployment = placeOfEmployment;
        this.maritalStatusId = maritalStatusId;
        this.phoneNumber = phoneNumber;
        this.mobilePhoneNumber = mobilePhoneNumber;
        this.email = email;
        this.occupationId = occupationId;
        this.smokingNow = smokingNow;
        this.howLongYearsSmoking = howLongYearsSmoking;
        this.typeSmokingId = typeSmokingId;
        this.howManyCigarretesId = howManyCigarretesId;
        this.drinkBeer = drinkBeer;
        this.howMuchBeerWeekId = howMuchBeerWeekId;
        this.drinkWine = drinkWine;
        this.howMuchWineWeekId = howMuchWineWeekId;
        this.drinkOtherAlcoholicDrinks = drinkOtherAlcoholicDrinks;
        this.howMuchDrinkOtherAlcoholicDrinksWeekId = howMuchDrinkOtherAlcoholicDrinksWeekId;
        this.height = height;
        this.indexBodyWeight = indexBodyWeight;
        this.maxArterialPressure = maxArterialPressure;
        this.minArterialPressure = minArterialPressure;
        this.alcoholic = alcoholic;
        this.narcomaniac= narcomaniac;
    }

    public int getVolunteerId() {
        return volunteerId;
    }

    public void setVolunteerId(int volunteerId) {
        this.volunteerId = volunteerId;
    }

    public String getVolunteerCode() {
        return volunteerCode;
    }

    public void setVolunteerCode(String volunteerCode) {
        this.volunteerCode = volunteerCode;
    }

    public Date getVolunteerDateBirth() {
        return volunteerDateBirth;
    }

    public void setVolunteerDateBirth(Date volunteerDateBirth) {
        this.volunteerDateBirth = volunteerDateBirth;
    }

    public int getNationalityId() {
        return nationalityId;
    }

    public void setNationalityId(int nationalityId) {
        this.nationalityId = nationalityId;
    }

    public int getSexId() {
        return sexId;
    }

    public void setSexId(int sexId) {
        this.sexId = sexId;
    }

    public String getVolunteerLastname() {
        return volunteerLastname;
    }

    public void setVolunteerLastname(String volunteerLastname) {
        this.volunteerLastname = volunteerLastname;
    }

    public String getVolunteerFirstname() {
        return volunteerFirstname;
    }

    public void setVolunteerFirstname(String volunteerFirstname) {
        this.volunteerFirstname = volunteerFirstname;
    }

    public String getVolunteerPatronymicName() {
        return volunteerPatronymicName;
    }

    public void setVolunteerPatronymicName(String volunteerPatronymicName) {
        this.volunteerPatronymicName = volunteerPatronymicName;
    }

    public String getVolunteerIdentityCardNumber() {
        return volunteerIdentityCardNumber;
    }

    public void setVolunteerIdentityCardNumber(String volunteerIdentityCardNumber) {
        this.volunteerIdentityCardNumber = volunteerIdentityCardNumber;
    }

    public Date getVolunteerIdentityCardDateIssue() {
        return volunteerIdentityCardDateIssue;
    }

    public void setVolunteerIdentityCardDateIssue(Date volunteerIdentityCardDateIssue) {
        this.volunteerIdentityCardDateIssue = volunteerIdentityCardDateIssue;
    }

    public String getPlaceOfLiving() {
        return placeOfLiving;
    }

    public void setPlaceOfLiving(String placeOfLiving) {
        this.placeOfLiving = placeOfLiving;
    }

    public String getPlaceOfEmployment() {
        return placeOfEmployment;
    }

    public void setPlaceOfEmployment(String placeOfEmployment) {
        this.placeOfEmployment = placeOfEmployment;
    }

    public int getMaritalStatusId() {
        return maritalStatusId;
    }

    public void setMaritalStatusId(int maritalStatusId) {
        this.maritalStatusId = maritalStatusId;
    }

    public String getPhoneNumber() {
        return phoneNumber;
    }

    public void setPhoneNumber(String phoneNumber) {
        this.phoneNumber = phoneNumber;
    }

    public String getMobilePhoneNumber() {
        return mobilePhoneNumber;
    }

    public void setMobilePhoneNumber(String mobilePhoneNumber) {
        this.mobilePhoneNumber = mobilePhoneNumber;
    }

    public String getEmail() {
        return email;
    }

    public void setEmail(String email) {
        this.email = email;
    }

    public int getOccupationId() {
        return occupationId;
    }

    public void setOccupationId(int occupationId) {
        this.occupationId = occupationId;
    }

    public boolean isSmokingNow() {
        return smokingNow;
    }

    public void setSmokingNow(boolean smokingNow) {
        this.smokingNow = smokingNow;
    }

    public int getHowLongYearsSmoking() {
        return howLongYearsSmoking;
    }

    public void setHowLongYearsSmoking(int howLongYearsSmoking) {
        this.howLongYearsSmoking = howLongYearsSmoking;
    }

    public int getTypeSmokingId() {
        return typeSmokingId;
    }

    public void setTypeSmokingId(int typeSmokingId) {
        this.typeSmokingId = typeSmokingId;
    }

    public int getHowManyCigarretesId() {
        return howManyCigarretesId;
    }

    public void setHowManyCigarretesId(int howManyCigarretesId) {
        this.howManyCigarretesId = howManyCigarretesId;
    }

    public boolean isDrinkBeer() {
        return drinkBeer;
    }

    public void setDrinkBeer(boolean drinkBeer) {
        this.drinkBeer = drinkBeer;
    }

    public int getHowMuchBeerWeekId() {
        return howMuchBeerWeekId;
    }

    public void setHowMuchBeerWeekId(int howMuchBeerWeekId) {
        this.howMuchBeerWeekId = howMuchBeerWeekId;
    }

    public boolean isDrinkWine() {
        return drinkWine;
    }

    public void setDrinkWine(boolean drinkWine) {
        this.drinkWine = drinkWine;
    }

    public int getHowMuchWineWeekId() {
        return howMuchWineWeekId;
    }

    public void setHowMuchWineWeekId(int howMuchWineWeekId) {
        this.howMuchWineWeekId = howMuchWineWeekId;
    }

    public boolean isDrinkOtherAlcoholicDrinks() {
        return drinkOtherAlcoholicDrinks;
    }

    public void setDrinkOtherAlcoholicDrinks(boolean drinkOtherAlcoholicDrinks) {
        this.drinkOtherAlcoholicDrinks = drinkOtherAlcoholicDrinks;
    }

    public int getHowMuchDrinkOtherAlcoholicDrinksWeekId() {
        return howMuchDrinkOtherAlcoholicDrinksWeekId;
    }

    public void setHowMuchDrinkOtherAlcoholicDrinksWeekId(int howMuchDrinkOtherAlcoholicDrinksWeekId) {
        this.howMuchDrinkOtherAlcoholicDrinksWeekId = howMuchDrinkOtherAlcoholicDrinksWeekId;
    }

    public double getHeight() {
        return height;
    }

    public void setHeight(double height) {
        this.height = height;
    }

    public double getIndexBodyWeight() {
        return indexBodyWeight;
    }

    public void setIndexBodyWeight(double indexBodyWeight) {
        this.indexBodyWeight = indexBodyWeight;
    }

    public int getMaxArterialPressure() {
        return maxArterialPressure;
    }

    public void setMaxArterialPressure(int maxArterialPressure) {
        this.maxArterialPressure = maxArterialPressure;
    }

    public int getMinArterialPressure() {
        return minArterialPressure;
    }

    public void setMinArterialPressure(int minArterialPressure) {
        this.minArterialPressure = minArterialPressure;
    }

    public boolean isAlcoholic() {
        return alcoholic;
    }

    public void setAlcoholic(boolean alcoholic) {
        this.alcoholic = alcoholic;
    }

    public boolean isNarcomaniac() {
        return narcomaniac;
    }

    public void setNarcomaniac(boolean narcomaniac) {
        this.narcomaniac = narcomaniac;
    }

    @Override
    public String toString() {
        return volunteerCode;
    }


}

